<?php

/**
 * RaiseTestResult class
 * represents the result of a RaiseTest
 *
 * @author Sam-Mauris Yong <hellclanner at live dot com>
 * @license http://www.opensource.org/licenses/bsd-license New BSD License
 * @final
 * @package Raise.UnitTest
 * @version 1.4
 */
final class RaiseTestResult {
    
    /**
     * Total tests ran
     * @var integer
     */
    public $totalTestCount = 0;

    /**
     * Successful test count
     * @var integer
     */
    public $successfulTestCount = 0;

    /**
     * Array of messages to be displayed
     * @var array
     */
    public $messages = array();

    /**
     * Array of error messages to be displayed
     * @var array
     */
    public $errors = array();

    /**
     * Array of warning messages to be displayed
     * @var array
     */
    public $warnings = array();

    /**
     * The time taken to complete the test in seconds
     * @var double
     */
    public $timeTaken;

    /**
     * The amount of memory used in the tests in terms of bytes
     * @var integer
     */
    public $memoryUse;
    
}

